<!DOCTYPE html>
<html>
    
    <head>
        <meta charset="utf-8" />
        <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
        <meta content="yes" name="apple-mobile-web-app-capable" />
        <meta content="black" name="apple-mobile-web-app-status-bar-style" />
        <meta content="telephone=no" name="format-detection" />
        <title>登陆</title>
        <link rel="stylesheet" type="text/css" href="/css/m.login.css" />
        <link rel="stylesheet" type="text/css" href="css/iconfont.css" />
        <link rel="stylesheet" type="text/css" href="css/fillcolor.css" />
    </head>
    
    <body id="jSouperApp">
        <!--登陆-->
        <div class="loginbox {{$Cache_is_new_user&&'focus'}}">
            <div class="textinfo">
                <input placeholder="用户名" type="text" name="uname" bind-input="{{'$Cache_user_login_name'}}" />
                <input placeholder="密码" type="password" name="pwd" bind-input="{{'$Cache_user_login_pwd'}}" event-enter="{{'$Event.user_login'}}"
                />
            </div>
            <div class="queding">
                <div class="back"></div>
                <div class="icon-queding" event-click="{{'$Event.user_login'}}" title="登陆"></div>
            </div>
            <div class="choice">
                <div class="item">
                    <i class="icon-squarecheck"></i>记住账号</div>
                <div class="item" event-click="{{'$Event.user_login_change_type'}}">
                    <i name="teacher" class="{{$Cache_user_login_type&&'icon-squarecheck'||'icon-square'}}"></i>教员登陆</div>
                <div class="item" event-click="{{'$Event.is_new_user'}}">注册</div>
            </div>
        </div>
        <!--注册-->
        <div class="register {{$Cache_is_new_user&&'focus'}}">
            <input placeholder="请输入用户名" type="text" bind-input="{{'$Cache_new_user.name'}}" />
            <input placeholder="请输入密码" type="password" bind-input="{{'$Cache_new_user.pwd'}}" />
            <input placeholder="请再次输入密码" type="password" bind-input="{{'$Cache_new_user.repwd'}}" />
            <input placeholder="请输入昵称" type="text" bind-input="{{'$Cache_new_user.nickname'}}" />
            <input placeholder="请输入手机号" type="text" bind-input="{{'$Cache_new_user.phone'}}" />
            <input placeholder="请输入邮箱" type="text" bind-input="{{'$Cache_new_user.email'}}" />
            <div class="choice">
                <div class="item" event-click="{{'$Event.new_user_change_type'}}">
                    <i class="{{$Cache_new_user_is_teacher&&'icon-square'||'icon-squarecheck'}}"></i>学员</div>
                <div class="item" event-click="{{'$Event.new_user_change_type'}}">
                    <i name="teacher" class="{{$Cache_new_user_is_teacher&&'icon-squarecheck'||'icon-square'}}"></i>教员</div>
                <div class="item" event-click="{{'$Event.is_new_user'}}">取消</div>
                <button event-click="{{'$Event.create_new_user'}}">注册</button>
            </div>
        </div>
    </body>
    <script type="text/javascript" src="/js/vendor/jquery-1.11.2.min.js"></script>
    <script type="text/javascript" src="/js/lib/jquery.cookie.js"></script>
    <script type="text/javascript" src="/js/vendor/jSouper.min.js"></script>
    <script type="text/javascript" src="/js/vendor/routie.min.js"></script>
    <script type="text/javascript" src="/js/login.js"></script>

</html>